package com.sfac;

import com.sfac.config.CustomLoadBalancerConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Description SpringCloudAlibabaAccount
 * @Author JiangHu
 * @Date 2022/7/15 15:13
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@LoadBalancerClient(name = "alibaba-service-test", configuration = CustomLoadBalancerConfiguration.class)

public class SpringCloudAlibabaAccount {

	public static void main(String[] args) {
		SpringApplication.run(SpringCloudAlibabaAccount.class);
	}
}
